package cn.itsource.org.mapper;

import cn.itsource.basic.mapper.BaseMapper;
import cn.itsource.org.domain.Department;
import cn.itsource.org.query.DepartmentQuery;

import java.util.List;

public interface DepartmentMapper extends BaseMapper<Department> {

    /**
     * 批量删除
     * @param ids
     */
    void patchDel(List<Long> ids);

    List<Department> getDeptTreeForAdd();

    List<Department> getDeptTreeForUpdate(Long id);
}
